package com.bgIntlgn.client.entity.custom;

import yuhuibear.poat.annotations.action.AutoGenerateValue;
import yuhuibear.poat.annotations.relation.Field;
import yuhuibear.poat.annotations.relation.Table;
import yuhuibear.poat.object.bean.Bean;

/**
 * Custom Entity
 * 
 * @author shenzhang
 * 
 */
@Table(name = "customs", constrain = "")
public class Custom implements Bean {

	@AutoGenerateValue(skipOnNull = true, sqlToGet = "select currval('customs_id_seq')")
	@Field(name = "id", type = "bigserial", constrain = " primary key")
	private Long id;

	@Field(name = "name", type = "varchar(40) ", constrain = "not null unique")
	private String name;

	@Field(name = "zone", type = "varchar(40) ", constrain = "")
	private String zone;

	@Field(name = "address", type = "varchar(100)", constrain = "")
	private String address;

	@Field(name = "size", type = "varchar(100)", constrain = "")
	private String size;
	
	@Field(name = "rank", type = "varchar(100)", constrain = "")
	private String rank;

	@Field(name = "payway", type = "varchar(100)", constrain = "")
	private String payWay;

	@Field(name = "comment", type = "varchar(1000)", constrain = "")
	private String comment;

	@Field(name = "discription", type = "varchar(100)", constrain = "")
	private String discription;
	
	@Field(name = "bank_id", type = "varchar(100)", constrain = "")
	private String bankId;
	
	@Field(name = "shui_id", type = "varchar(100)", constrain = "")
	private String shuiId;
	
	@Field(name = "bank_address", type = "varchar(100)", constrain = "")
	private String bankAddress;
	
	@Field(name = "paper_tel", type = "varchar(100)", constrain = "")
	private String paperTEL;
	
	@Field(name = "paper_address", type = "varchar(100)", constrain = "")
	private String paperAddress;
	
	@Field(name = "deliver_way", type = "varchar(100)", constrain = "")
	private String deliver_way;
	
	@Field(name = "send_pay_way", type = "varchar(100)", constrain = "")
	private String send_pay_way;
	
	@Field(name = "seller_id", type = "varchar(100)", constrain = "")
	private String sellerId;
	
	@Field(name = "sender", type = "varchar(100)", constrain = "")
	private String sender;

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getSellerId() {
		return sellerId;
	}

	public void setSellerId(String sellerId) {
		this.sellerId = sellerId;
	}

	public String getDiscription() {
		return discription;
	}

	public void setDiscription(String discription) {
		this.discription = discription;
	}

	public String getBankId() {
		return bankId;
	}

	public void setBankId(String bankId) {
		this.bankId = bankId;
	}

	public String getShuiId() {
		return shuiId;
	}

	public void setShuiId(String shuiId) {
		this.shuiId = shuiId;
	}

	public String getBankAddress() {
		return bankAddress;
	}

	public void setBankAddress(String bankAddress) {
		this.bankAddress = bankAddress;
	}

	public String getPaperTEL() {
		return paperTEL;
	}

	public void setPaperTEL(String paperTEL) {
		this.paperTEL = paperTEL;
	}

	public String getPaperAddress() {
		return paperAddress;
	}

	public void setPaperAddress(String paperAddress) {
		this.paperAddress = paperAddress;
	}

	public String getDeliver_way() {
		return deliver_way;
	}

	public void setDeliver_way(String deliver_way) {
		this.deliver_way = deliver_way;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getZone() {
		return zone;
	}

	public void setZone(String zone) {
		this.zone = zone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getRank() {
		return rank;
	}

	public void setRank(String rank) {
		this.rank = rank;
	}

	public String getPayWay() {
		return payWay;
	}

	public void setPayWay(String payWay) {
		this.payWay = payWay;
	}
	
	public String getSend_pay_way() {
		return send_pay_way;
	}

	public void setSend_pay_way(String send_pay_way) {
		this.send_pay_way = send_pay_way;
	}
}
